package com.best4cloud.user.service;

import com.best4cloud.user.domain.SysUser;
import com.best4cloud.user.web.rest.request.SysLoginQuery;

public interface SysUserService {

    /**
     * 系统用户登录
     * @param loginDTO {@link SysLoginQuery}
     * @return
     */
    SysUser login(SysLoginQuery loginDTO);

    SysUser findById(Long id);

    SysUser getUserByUsername(String username);
}
